-
Notifications
You must be signed in to change notification settings - Fork 329
CHANGE: ISX-2377: Rebinding sample improvements (Mouse sensitivity + Swap sticks) (Validation week) #2241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ekcoh
wants to merge
24
commits into
develop
Choose a base branch
from
rebinding-sample-extension
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ft and right sticks.
…Parameter to enable mouse sensitivity setting.
…ameter override utility script.
…ameters to override.
…n portrait mode. Game manager now enforces landscape as part of running. Added menu button and reenabled UI actions during gameplay.
…ogies/InputSystem into rebinding-sample-extension
ekcoh
commented
Oct 7, 2025
/// <summary> | ||
/// Common binding UI helper to allow editor composition. | ||
/// </summary> | ||
internal class BindingUI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't constantly named with file and should be renamed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR improves the "rebinding sample" in the following ways:
RebindSaveLoad
by documenting it and extracting Load/Save to API surface of the class and only calling them from OnEnable/OnDisable. Also made the actualPlayerPrefs
key a string property of the component. This allows this file to be a reusable component as-is is nice there is nothing hard-coded and it may be used on OnEnable/OnDisable or just programatically.RebindActionParameterUI
which is a slider UI integration example of configuring action processor parameters directly by adding the monobehavior, configuring it and run. Supports overriding action or binding processors.RebindActionParameterUIEditor
which is a custom editor for the aboveMonoBehaviour
.Testing status & QA
Functionality has been tested during development by running the associated sample.
Overall Product Risks
Small, no changes to source, only to sample scripts.
Comments to reviewers
I am not 100% sure the scene save doesn't contain any accidental changes but I believe it should be fine.
Checklist
Before review:
Changed
,Fixed
,Added
sections.Area_CanDoX
,Area_CanDoX_EvenIfYIsTheCase
,Area_WhenIDoX_AndYHappens_ThisIsTheResult
.During merge:
NEW: ___
.FIX: ___
.DOCS: ___
.CHANGE: ___
.RELEASE: 1.1.0-preview.3
.After merge: